package com.hanggold.springboot.lesson4.select;

import com.hanggold.springboot.lesson4.bean.UserBean;
import org.apache.catalina.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyTest {

    public void  say(String content){
        System.out.println("you say "+ content);
    }



    @Bean
    public UserBean userBean(){
        UserBean userBean = new UserBean();
        return userBean;
    }



}
